package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.domain.Book;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

//给该接口的每个方法添加事务
@Transactional
public interface BookService extends IService<Book>{

    //public Book getById(Integer id);

}
